<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@include file="/include.inc.jsp" %>
<link href="${path}/styles/css/sys.css?t=${sysVersion}" rel="stylesheet" />
<script src="${path}/styles/js/sys/sys.js?t=${sysVersion}"></script>

<div class="adv-photo-list" style="height:500px;overflow-y:scroll;">
	<c:forEach items="${list}" var="photo">
		<div class="adv-photo-item">
			<div class="adv-photo">
				<img src="${photo.img_url}" />
			</div>
			<div class="photo-btn hide">
				<a class="adv-photo-btn" href="${path}/sysBootScreen/toUpdate?id=${photo.id}" data-toggle="dialog" data-width="600" data-height="350" data-id="dialog-mask" data-mask="true">编辑</a>
				<a class="adv-photo-btn" href="${path}/sysBootScreen/del?id=${photo.id}" data-toggle="doajax" data-type="post" data-confirm-msg="确定要操作该条数据项吗？">删除</a>
			</div>
			<div class="photo-desc">
				<span class="pd-span" title="">名称：${photo.title}</span>
				<span class="pd-span" title="">链接：${photo.jump_url}</span>
				<span class="pd-span" title="">
					<c:if test="${not empty photo.is_release and photo.is_release == 1}">已发布</c:if>
					<c:if test="${empty photo.is_release or photo.is_release == 0}">未发布</c:if>
				</span>
			</div>
		</div>
	</c:forEach>
	<div class="adv-photo-item-btn mr20 fl">
		<a id="" class="adv-photo-add" data-toggle="dialog" data-width="600" data-height="350" data-id="dialog-mask" data-mask="true" href="${path}/jsp/sysBootScreen/add_photo.jsp">新增图片</a>
	</div>
	<div class="cb"></div>
</div>